﻿using Microsoft.Office.Interop.PowerPoint;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FinancialReportPowerPointAddIn.Helper
{
    public static class BorderHelper
    {
        public static void SetRightBorder(Cell cell)
        {
            var border = cell.Borders[PpBorderType.ppBorderRight];
            border.Visible = Microsoft.Office.Core.MsoTriState.msoTrue;
            border.Weight = 1.5f;
            border.Style = Microsoft.Office.Core.MsoLineStyle.msoLineSingle;
            border.ForeColor.RGB = Color.FromArgb(0, 0, 0).ToArgb();
        }
    }
}
